<?php
/**
 * 角色状态
 */
header('Content-Type:text/html;charset=utf8');
?>
<html>
<head>
    <link rel="stylesheet" href="./../css/wog_infinity/main.css?t=<?= time() ?>">
    <script src="./../js/jquery-3.5.1.min.js"></script>
    <style>
        body {
            background-color: #454a58;
            color: #fff;
        }
    </style>
</head>
<body>

<div>
    <div class="fight-ready-box  d-flex  align-content-stretch justify-content-center">
        <div class="fight-to-map pos-r fight-category status-view-container box-border-gradient">
            <label class=""><input type="radio" name="a_type" value="1" checked class="pos-a top-left-0" style="opacity: 0;">
                <h2 class="text-center">冒险修行</h2>
                ${temp_country}
                <select name="act1" class="fight-ready-select" onchange="parent.change_mission(0,this.form);parent.setSubplace(this.options[this.selectedIndex].value,'');">
                    <option value="" selected>选择场所</option>
                </select>
            </label>
            <!--        <select name="subplace" onchange="parent.change_mission(0,this.form);"><option value="" selected="selected">不限定</option></select>-->

        </div>
        <div class="fight-to-dungeon fight-category status-view-container box-border-gradient">
            <label>
                <input type="radio" name="a_type" value="3" style="opacity: 0;" class="pos-a top-left-0">
                <h2 class="text-center">禁区挑战</h2>
                <select name="act3"  class="fight-ready-select"  onChange="parent.change_mission(2,this.form);">
                    <option value="" SELECTED>选择地点</option>
                    ${dungeon}
                </select>
            </label>
        </div>
        <div class="fight-to-pk fight-category status-view-container box-border-gradient">
            <label>
                <input type="radio" name="a_type" value="2" class="pos-a top-left-0" style="opacity: 0;">
                <h2 class="text-center">武斗竞技</h2>
                <select name="act2" class="fight-ready-select" onChange="parent.change_mission(1,this.form);">
                    <option value="" SELECTED>选择模式</option>
                    <option value="1000">挑战冠军</option>
                    <option value="1001"> PK 挑战</option>
                </select>
                <a href="#"
                   onclick="parent.mouse_xy(event.x||event.pageX,event.y||event.pageY);parent.act_click('pk','view');"
                   target="mission">PK设定</a>
            </label>
        </div>
    </div>
    <div class="d-flex flex-col align-items-center mt-20">
    <div class="d-flex align-items-stretch">
        <label class="box-border-gold-bg d-block p-10 " style="width:200px;">
            <div class="font-weight-bold font-size-18"><input  type="radio" name="a_mode" value="1" checked class="mr-10">快速战斗</div>
            <p class="font-size-12 text-grey">直接给出战斗结果，为刷而刷</p>
        </label>
        <label class="box-border-gold-bg d-block p-10 ml-10" style="width:200px;">
            <div class="font-weight-bold font-size-18"><input  type="radio" name="a_mode" value="2" class="mr-10">一般模式</div>
            <p class="text-grey">按回合显示战斗日子，技能、伤害直观，方便分析对局</p>
        </label>
    </div>
        <div class="d-flex align-items-center mt-20">
            <button type="button" class="brick-btn" onclick="parent.datechk(1,document.forms[0])"><div class="d-flex align-items-center justify-content-center"><img src="./../ex_img/wog_infinity/btn/act_mode_1.png" class="brick-btn-icon" alt=""> 物理攻击</div></button>
            <button type="button" class="brick-btn brick-btn-green" onclick="parent.datechk(2,document.forms[0])"><div class="d-flex align-items-center justify-content-center"><img src="./../ex_img/wog_infinity/btn/act_mode_2.png" class="brick-btn-icon" alt=""> 魔法攻击</div></button>
        </div>
<div class="my-10"><a href="javascript:;" onclick="toggleFightSetting()">战斗设置</a></div>
        <div id="fightSetting" class="box-info-bg px-25 py-20">
            <div class="mb-10">战斗回合数 <input type="text" class="game-input text-center" style="width:100px;" name="f_count" value="${f_count}"  maxlength="2"> (最大${f_count})，<br>
                HP低于 <input type="text"  style="width:100px;" class="game-input  text-center"  name="escape_hp" value="${f_escape_hp}" maxlength="2"> %逃离战斗</div>
            <div class="mb-10">HP低于 <input type="text" style="width:100px;" class="game-input  text-center" name="f_hp" value="${f_hp}" maxlength="2"> %，
                SP低于 <input type="text"  style="width:100px;" class="game-input  text-center" name="f_sp" value="${f_sp}" maxlength="2"> %自动使用恢复道具 </div>
            <div class="mb-10">HP低于 <input type="text" style="width:100px;" class="game-input  text-center" name="hotel_hp"  value="${hotel_hp}" maxlength="2"> % ，
                SP低于 <input type="text"  style="width:100px;" class="game-input  text-center" name="hotel_sp" value="${hotel_sp}" maxlength="2"> %自动住宿(-1表示略过条件)</div>
            <div>必杀技名称 <input type="text" name="sat_name" class="game-input  text-center" value="${p_sat_name}"></div>
            <div><a href="javascript:;">关闭</a></div>
        </div>
    </div>
</div>
<script>
    function toggleFightSetting(){
        $('#fightSetting').stop(true).toggle()
    }
</script>
</body>
</html>